<?php namespace App;

use Illuminate\Database\Eloquent\Model;

/**
 * App\VotePost
 *
 * @property integer $id
 * @property string $ip
 * @property integer $user_id
 * @property integer $vote_id
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 * @method static \Illuminate\Database\Query\Builder|\App\VotePost whereId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\VotePost whereIp($value)
 * @method static \Illuminate\Database\Query\Builder|\App\VotePost whereUserId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\VotePost whereVoteId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\VotePost whereCreatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\VotePost whereUpdatedAt($value)
 */
class VotePost extends Model {

    public function user()
    {
        return $this->belongsTo('App\User');
    }

}
